[#ftl]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>字典详情</title>
<link rel="stylesheet" type="text/css" href="${base}/css/date.css" />
<link rel="stylesheet" type="text/css" href="${base}/css/base.css" />
<link rel="stylesheet" type="text/css" href="${base}/css/form.css" />
<link rel="stylesheet" type="text/css" href="${base}/css/pop.css" />
<link rel="stylesheet" type="text/css" href="${base}/commonjs/ztree/css/zTreeStyle/zTreeStyle.css" />
<link rel="stylesheet" type="text/css" href="${base}/css/pop.css" />


<script type="text/javascript" src="${base}/commonjs/jquery1.7.2/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="${base}/commonjs/jquery-forms.js"></script>
<script type="text/javascript" src="${base}/commonjs/artDialog4/artDialog.source.js?skin=blue"></script>
<script type="text/javascript" src="${base}/commonjs/artDialog4/plugins/iframeTools.source.js"></script>
<script type="text/javascript" src="${base}/commonjs/ztree/js/jquery.ztree.all-3.5.min.js" ></script>
<script type="text/javascript"  src="${base}/js/smartpaginator.js"></script>
<script type="text/javascript"  src="${base}/js/zebra_dialog.js"></script>
<script type="text/javascript" src="${base}/commonjs/tab/tabs.js"></script>
</head>
<body>
<!-- 主体开始 -->
<div class="dataForm">
    <div class="eva_content_top">
		<ul id="eva_all">
			<li><a tab="eva_tab1" class="eva_focus" href="javascript:void(0);">基本信息</a></li>
			<li><a tab="eva_tab2" class="white" href="javascript:void(0);">数据项</a></li>
		</ul>
	</div>
	<div id="eva_tab1" class="eva_tab">
		<form id="dataform" action="user/update" method="post">
			<div class="pop_main">
			<table>
			    [#if bean?exists]
				<input  id="beanId" name="id"   type="hidden"  value="${bean.id!''}"/>
				<tr>
					<td class="pop_td1 tr">名称:</td>
					<td class="tl">		
					${bean.name!''}
					</td>
				</tr>
				<tr>
					<td class="pop_td1 tr">代码:</dt>
					<td class="tl">		
					${bean.code!''}
					</td>
				</tr>
				<tr>
					<td class="pop_td1 tr">数据类型:</td>
					<td class="tl">
						[@c.toName  value='${bean.datatype!}' datas="common.datatype" /]
					</td class="tr">
				</tr>
				<tr>
					<td class="pop_td1 tr">描述:</td>
					<td class="tl">
						${bean.description!''}
					</td>
					</tr>
				[/#if]
			  </table>
				<div class="clear"></div>
			</div>

		</form>
	</div>
	<div id="eva_tab2" class="eva_tab">
		<div class="userole">
			<dl>			
		   
			   <table class="mt10 ml10" style="width:100%;">
					   <tbody>
							<tr >

								<th class="color_2 tab_bt">
								<table class="date_table_2">
									<tr>
										<td class="td_1 tc">名称</td>
										</tr>
								</table>										
								</th>
								<th class="color_2 tab_bt">
								<table class="date_table_2">
									<tr>
										<td class="td_1 tc">代码</td>
										</tr>
								</table>										
								</th>
								<th class="color_2 tab_bt">
								<table class="date_table_2">
									<tr>
										<td class="td_1 tc">值</td>
										</tr>
								</table>										
								</th>
								<th class="color_2 tab_bt">
								<table class="date_table_2">
									<tr>
										<td class="td_1 tc">次序</td>
										</tr>
								</table>										
								</th>										
							</tr>
					[#if (bean.items)??]
			           [#list bean.items as item]
							<tr>																	
								<td class="br tab_bt">
                                <table class="date_table_2">
									<tr>
										<td class="td_1">${(item.name)!""}</td></tr>
								</table>
							    </td>
                                <td class="br tab_bt">
                                <table class="date_table_2">
									<tr>
										<td class="td_1">${(item.code)!""}</td></tr>
								</table>
							    </td>
								
								<td class="br tab_bt">
								<table class="date_table_2">
									<tr>
										<td class="td_1">${(item.value)!""}</td></tr>
								</table>
							    </td>
								
								<td class="br tab_bt">
								<table class="date_table_2">
									<tr>
										<td class="td_1">${(item.showOrder)!""}</td></tr>
								</table>
							    </td>
																		
							</tr>
						[/#list]
					 [/#if]
					  </tbody>
					</table>
			</dt>					
			<dl>
		</div>	
					
   </div>
   <div class="pop_btn">
	    <input type="button" id="butBack" class="btn_1" value="返回"/>
   </div>
</div>
<script type="text/javascript">

	
	$(function() {
		// 保存
		$("#butBack").click(function(){
			window.parent.closeArtDialog();
		});
		
	});
</script>

</body>
</html>